package com.zhny.utils.json;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

public class DTU_data {
	@JsonIgnore
	private String dtu;
	@JsonIgnore
	private String datetime;
	@JsonProperty("1004")
	private float soilhumi1;
	@JsonIgnore
	private float soilhumi2;
	@JsonIgnore
	private float soilhumi3;
	@JsonIgnore
	private float soiltemp;
	@JsonProperty("1001")
	private float airtemp;
	@JsonProperty("1002")
	private float airhumi;
	@JsonProperty("1030")
	private float sundata;
	@JsonProperty("1051")
	private float coo;
	@JsonProperty("1012")
	private float yanfen;
	public DTU_data() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	public DTU_data(String dTU, String datetime, float soilhumi1, float soilhumi2, float soilhumi3, float soiltemp,
                    float airtemp, float airhumi, float sundata, float coo, float yanfen) {
		super();
		dtu = dTU;
		this.datetime = datetime;
		this.soilhumi1 = soilhumi1;
		this.soilhumi2 = soilhumi2;
		this.soilhumi3 = soilhumi3;
		this.soiltemp = soiltemp;
		this.airtemp = airtemp;
		this.airhumi = airhumi;
		this.sundata = sundata;
		this.coo = coo;
		this.yanfen = yanfen;
	}

	public String getDtu() {
		return dtu;
	}
	public void setDtu(String dTU) {
		dtu = dTU;
	}
	public String getDatetime() {
		return datetime;
	}
	public void setDatetime(String datetime) {
		this.datetime = datetime;
	}
	public float getSoilhumi1() {
		return soilhumi1;
	}
	public void setSoilhumi1(float soilhumi1) {
		this.soilhumi1 = soilhumi1;
	}
	public float getSoilhumi2() {
		return soilhumi2;
	}
	public void setSoilhumi2(float soilhumi2) {
		this.soilhumi2 = soilhumi2;
	}
	public float getSoilhumi3() {
		return soilhumi3;
	}
	public void setSoilhumi3(float soilhumi3) {
		this.soilhumi3 = soilhumi3;
	}
	public float getSoiltemp() {
		return soiltemp;
	}
	public void setSoiltemp(float soiltemp) {
		this.soiltemp = soiltemp;
	}
	public float getAirtemp() {
		return airtemp;
	}
	public void setAirtemp(float airtemp) {
		this.airtemp = airtemp;
	}
	public float getAirhumi() {
		return airhumi;
	}
	public void setAirhumi(float airhumi) {
		this.airhumi = airhumi;
	}
	public float getSundata() {
		return sundata;
	}
	public void setSundata(float sundata) {
		this.sundata = sundata;
	}
	public float getCoo() {
		return coo;
	}
	public void setCoo(float coo) {
		this.coo = coo;
	}
	public float getYanfen() {
		return yanfen;
	}
	public void setYanfen(float yanfen) {
		this.yanfen = yanfen;
	}
	
	
}
